package org.jeecg.modules.dataReport.service;

import org.jeecg.modules.dataReport.entity.DataReportColumn;
import org.jeecg.modules.dataReport.entity.DataReportCalculateRange;
import org.jeecg.modules.dataReport.entity.DataReport;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 报表管理
 * @Author: jeecg-boot
 * @Date:   2023-02-19
 * @Version: V1.0
 */
public interface IDataReportService extends IService<DataReport> {

	/**
	 * 添加一对多
	 *
	 * @param dataReport
	 * @param dataReportColumnList
	 * @param dataReportCalculateRangeList
	 */
	public void saveMain(DataReport dataReport,List<DataReportColumn> dataReportColumnList,List<DataReportCalculateRange> dataReportCalculateRangeList) ;
	
	/**
	 * 修改一对多
	 *
   * @param dataReport
   * @param dataReportColumnList
   * @param dataReportCalculateRangeList
	 */
	public void updateMain(DataReport dataReport,List<DataReportColumn> dataReportColumnList,List<DataReportCalculateRange> dataReportCalculateRangeList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
